import http from "@/utlis/http/http.js"
import env from '@/utlis/env.js';


//获取搜索热点列表
export const searchFire = (data) => {
    return http({
        url: '/api/content.search/fire',
        method: 'GET', //请求方法
        data 
    })
}
//搜索内容
export const searchContent = (data) => {
    return http({
        url: '/api/content.article/searchContent',
        method: 'GET', //请求方法
        data 
    })
}
//保存搜索内容
export const saveSearch = (data) => {
    return http({
        url: '/api/content.search/saveSearch',
        method: 'POST', //请求方法
        data 
    })
}